<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
        <a href="http://127.0.0.1:5500/bom/history.html">跳转history</a>
    
    <script>
        // 接收url传递大参数
        let url = location.href
        let params = new URLSearchParams(url.split('?')[1])
        let id = params.get('id')
        let text = params.get('text')
        document.write(id+text)
        
    </script>
    
</body>
</html>